<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>test</title>
        <style>
            .wapper{
                overflow: hidden;
                width: 500px;
            }
            .my{
                float: left;
                width: 300px;
                border: none;
            }
            .your{
                float: right;
                border: none;
                width: 200px;
            }
        </style>
    </head>
    <body>
    <div class="wapper">
        <form>
            <input class="my" type="text">
            <input class="your" type="submit">
        </form>
    </div>
    </body>
</html>